<!--
    qMenu Tester
    
    http://127.0.0.1:8100/qlibjs/webres/common/_test/qHtml/qHtmlTester.html
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
    <head>
    	<link rel="stylesheet" title="Screen Styles" href="../../qCore.css" type="text/css" media="screen">
        <title>qHtml Tester</title>
        <script>
            imagePath='../../images/';
            wrroot='../../';
            scriptPath='';
            contextPath='';
            bIsDev=true;
            bDebug=true;
        </script>
        <script src='../../jquery_exp.js'></script> 
        <script src='../../qCore.js'></script>   
        <script src='../../qBase.js'></script>   
        <script src='../../qHtml.js'></script>   
        <script src='../../qMenu.js'></script>
        
        <script>
        	function bodyLoaded(){

        	}
        </script>

    </head>
    <body>
    	
    	<script>
    		var h=qHtml,bModify=true
    		
//function optBox(j){
//	var h=qHtml,sClr,sBrdClr,sBgImg,sBgClr,v;
//	j=j?j:{};
//	sClr=(v=j.color)?v:"#ffffef";
//	sBrdClr=(v=j.bordColor)?v:"#dddddd";
//	sBgClr=(v=j.bgColor)?v:null;
//	if(!sBgClr)sBgImg=(v=j.bgImg)?v:'hg26-003366-3c78b6.gif';
//	return (
//		mkE(h.TABLE, {
//				_id: agetParam('j',j,'id', true, true)
//				,_onclick: agetParam('j',j,'onclick', true, true)
//				,_class: "optbox"
//				, _style:"color: "+sClr+"; border: 1px solid "+sBrdClr+"; -moz-opacity: 0.7; filter: alpha(opacity=70)"+((v=sBgImg)?"; background-repeat: repeat-x; background-image: url("+imagePath+v+");":"; background-color: "+sBgClr)+((v=j.font)?"; font: "+v:"; font-size: 75%;")
//		})
//		 	+"\n <tr"
//		 	+"\n  onmouseover=\"var o=this.parentNode.parentNode; setOpacity(o, 1.0); $(o).css({cursor: '"+(is.ie?"hand":"pointer")+"'});\" "
//		 	+"\n  onmouseout=\"var o=this.parentNode.parentNode; setOpacity(o, 0.7); $(o).css({cursor: 'default'});\" "							
//		 	+"\n >"
//	 			+"<td style='border-right: 1px solid "+sBrdClr+"; padding: 0px 2px 1px 2px'>"+((v=j.label)?v:"Options")+"</td>"
//	 			+"<td style=''>&nbsp;<img src='"+imagePath+"ddWhite2.gif' style='vertical-align: middle'>&nbsp;</td>"
//			+"</tr>"
//		+"</table>"
//	)
//}


function opt1_click(e,o){
	pc(
	     "\n e = "+e
	    +"\n o = "+o
	);	
}
    		
			dw (
				"<table border=0>"
				+"<tr><td width=200px>"
			   +qHtml.curveBox(
						 "<table cellpaddin=0 cellspacing=0 width=100% style=''>"
						 	+"<tr>"
						 		+"<td style='font-size: 80%; color: white;' width=100%>Some Text</td>"
						 		+"<td align=right>"
						 		+qMenu.optBox({id: 'opt1',onclick:'opt1_click(event,this)', color: '#ffffef', bgImg: 'hg26-003366-3c78b6.gif'})//, bgImgOn: 'hg20-3c78b6-67a7e3.gif'
						 		+"</td>"
						 	+"</tr>"
						 +"</table>"
						,{bgColor: "7799bb",radius: 4,corners: [0,1,0,0], width: "100%"}
				)
			   +"</td><td>&nbsp</td>"
			   +"</tr></table>"
			)
    	</script>
    	
    	
	<script>
        bConsole=true; __qcOpts={cb:true, t:0, w: 600, h: 900}
	    _SCR_START=" bodyLoaded();"; function __start() {try{if(bConsole){startCons(__qcOpts); _w.consoleLoaded = function consoleLoaded(){ setTimeout(_SCR_START,50) }}else{eval(_SCR_START)}}catch(e){debugErr(e)}};__start()
    </script>
    
	</body>
</html>
